import request from '@/utils/request'
export const tagGetService = (params) =>
  request.get('/api/tag/search/list', { params })

//更新列表
export const tagUpdateService = (data) => request.post('/api/tag/update', data)
//添加列表
export const tagAddService = ({ tagName }) =>
  request.post('/api/tag/add', { tagName })

export const tagDelService = (ids) => {
  request.post('/api/tag/delete', { ids })
}
